package com.yanqu.road.entity.activity.guagifts;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.player.UserBaseInfo;


@FieldTypeAnnotation(tableName = "t_c_gua_broadcast", desc = "孤寡送礼广播")
public class GuaGiftsBroadcastData extends DataObject {
    @FieldTypeAnnotation(select = true, update = true, desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(select = true, update = true, desc = "广播id")
    private long broadcastId;
    @FieldTypeAnnotation(desc = "送的人的id")
    private long sendUserId;
    @FieldTypeAnnotation(desc = "收的人的id")
    private long receiveUserId;
    @FieldTypeAnnotation(desc = "送的人的数据")
    private UserBaseInfo sendUserBaseInfo;
    @FieldTypeAnnotation(desc = "收的人的数据")
    private UserBaseInfo receiveUserBaseInfo;
    @FieldTypeAnnotation(desc = "礼物id")
    private int giftId;
    @FieldTypeAnnotation(desc = "留言")
    private String content = "";
    @FieldTypeAnnotation(desc = "时间")
    private long time;

    public GuaGiftsBroadcastData(int activityId, long broadcastId) {
        this.activityId = activityId;
        this.broadcastId = broadcastId;
        setInsertOption();
    }

    public GuaGiftsBroadcastData() {
    }

    public long getBroadcastId() {
        return broadcastId;
    }

    public void setBroadcastId(long broadcastId) {
        this.broadcastId = broadcastId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(long sendUserId) {
        this.sendUserId = sendUserId;
    }

    public long getReceiveUserId() {
        return receiveUserId;
    }

    public void setReceiveUserId(long receiveUserId) {
        this.receiveUserId = receiveUserId;
    }

    public int getGiftId() {
        return giftId;
    }

    public void setGiftId(int giftId) {
        this.giftId = giftId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public UserBaseInfo getSendUserBaseInfo() {
        return sendUserBaseInfo;
    }

    public void setSendUserBaseInfo(UserBaseInfo sendUserBaseInfo) {
        this.sendUserBaseInfo = sendUserBaseInfo;
    }

    public UserBaseInfo getReceiveUserBaseInfo() {
        return receiveUserBaseInfo;
    }

    public void setReceiveUserBaseInfo(UserBaseInfo receiveUserBaseInfo) {
        this.receiveUserBaseInfo = receiveUserBaseInfo;
    }
}
